package day1;

import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo2 {
    public static void main(String[] args) throws ParseException,RuntimeException {
        SimpleDateFormat s = new SimpleDateFormat("yyyy");
        try {
            s.parse("hello");
        } catch (Throwable e) {
            e.printStackTrace();
        }

//        s.parse("hello");
        System.out.println(".....");
//        a();
    }

    static void a()throws NullPointerException{

    }
}
